feat: add model provenance tracking across plans and audits#21
Draft
feat: add model provenance tracking across plans and audits#21
Conversation
…d snapshot Improve LivingDash snapshot detection so the UI shows BrainDrain MCP branding, reports the repository default branch, and generates a meaningful Braindrain repo brief with moving-part context. Made-with: Cursor
…undary Move LivingDash runtime data and secrets to .braindrain/ldash with legacy migration support, and document the storage split so .ldash can remain shareable scaffold code. Made-with: Cursor
- Updated configuration handling for Codex CLI to prioritize TOML files over JSON. - Introduced a new LivingDash sidecar for improved UI and runtime state management. - Added tests for Codex TOML detection and installer defaults. - Updated .gitignore to include new log and documentation directories. Made-with: Cursor - EC3
Add a daily-gated Cursor stop hook and report generator to audit plan execution status with overlap/gap findings so planning drift is visible every day. This also updates hook docs and tests to keep deployment behavior verifiable. Made-with: Cursor
Enforce strict explicit-owner markers for audit ownership detection, ignore legacy .devdocs plan sources, and generate a daily plan task-board markdown table to keep active work tracking up to date. Co-authored-by: Cursor <cursoragent@cursor.com>
Clarify that daily planning audit outputs live under .braindrain/plan-reports and document explicit owner marker formats used by the audit workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
…ueue - Extend daily_plan_audit with plan frontmatter, env-based default owner, IDE-tagged discovery, plan cards, master-plan mirror + drift, next-actions - Document new report outputs in README - Bump audit schema to 1.1 in tests Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Add configurable provenance settings and propagate model/date metadata through plan audit outputs and agent templates so planning runs can be traced by model and cursor mode. This also hardens the observe stop-hook output contract to avoid hook JSON parsing regressions. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
provenanceblock inconfig/hub_config.yamland wire it into runtime config parsing (braindrain/config.py,braindrain/types.py)braindrain/server.pyfor effective model/mode resolution and append-only model trace loggingscripts/daily_plan_audit.pyto stamp report frontmatter with provenance metadata (created_by_model,created_at,last_modified_by_model,last_modified_at,cursor_mode,subagent_models_used)master-plan.md,next-actions.md,plan-task-board.md).env.dev/.env.prodoperational paths and provenance controlsFiles touched
braindrain/server.pybraindrain/config.pybraindrain/types.pyconfig/hub_config.yamlscripts/daily_plan_audit.pyconfig/templates/ruler/RULES.mdconfig/templates/agents/coordinator.mdconfig/templates/agents/daily-plan-auditor.mdconfig/templates/cursor/hooks/on-stop-observe.shREADME.mdCHANGELOG.mdtests/test_plan_auditor_master.pyandtests/test_workspace_primer_hooks.pyTest plan
PYTHONPATH=. pytest tests/test_plan_auditor_master.py tests/test_workspace_primer_hooks.py tests/test_provenance_config.py